package springMVC.getParams.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springMVC.getParams.model.Student;

/**
 * @Author quan
 * @Description 获取多个参数：将参数封装成一个对象
 * @Date 2023/7/21 16:11
 */

@RestController
@RequestMapping("/web")
public class Demo3_GetMulti {
    @RequestMapping("/get3")
    public String get3(Student student){
        return student.toString();
    }
}
